home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / OCI72 / OCI72.VRF < prev    next >
Encoding:
Text File  |  1995-10-10  |  3.1 KB  |  67 lines

  1. /* Copyright (c) Oracle Corporation 1995.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     oci72.vrf - V3 version analysis/product configuration script
  5.                 for Windows 95 OCI 7.2
  6.  
  7.   DESCRIPTION
  8.     This script checks dependencies and environment settings for the
  9.     installation of Windows 95 OCI 7.2.2
  10.  
  11.   MODIFIED    DD-MMM-YY  Reason
  12.     echien    19-APR-95  Creation for Windows 3.1
  13.     mclose    19-JUL-95  Adopted from Windows 3.1 and modified for Windows 95
  14.  
  15. *****************************************************************************/
  16.  
  17. {
  18.   /***********************************************************************
  19.       Set the VRF-INS script "ratchet"
  20.    ***********************************************************************/
  21.   vrf_ratchet = "7.2.2.3.1";
  22.  
  23.   { doit = execute("%installer_home%\win95.vrf"); }
  24.   [
  25.     'UNBOUND_VARIABLE:
  26.       {
  27.         required_version = product_version(w95instver);
  28.         temp = explode(required_version,".");
  29.         required_version = implode(list(first(temp),first(rest(temp)),
  30.                                         first(rest(rest(temp))),
  31.                                         first(rest(rest(rest(temp))))),".");
  32.         signal('failure,instantiate(nls("instver_too_early1","The version of the Installer currently running is %%installer_version%%. The installation you have chosen requires version %%required_version%% or later. Please run version %%required_version%% or later in order to perform this installation.")));
  33.       }
  34.   ]
  35.  
  36.   if (doit)
  37.     {
  38.       
  39.       /***********************************************************************
  40.          Bind path variables...
  41.       ************************************************************************/
  42.  
  43.       installing_scripts = nls("installing_scripts",
  44.                                "Installing %%product_label%% Scripts...");
  45.       installing_ocifiles = nls("installing_ocifiles",
  46.                                 "Installing %%product_label%% Files...");
  47.       installing_ocisamples = nls("installing_ocisamples",
  48.                                 "Installing %%product_label%% Sample Programs...");
  49.       modifying_config = nls("modifying_config",
  50.                              "Modifying Windows 95 Registry...");
  51.       registering = nls("registering","Registering %%product_label%%...");
  52.       rsf_version_msg = nls("rsf_version_msg","This product requires the installation of Required Support Files 7.2.2.3.0 or later.  The Required Support Files that you have installed are earlier than this.  Please install Required Support Files 7.2.2.3.0 or later and then proceed with the installation of %%product_label%%.");
  53.  
  54.       /***********************************************************************
  55.            Return total size of files depending upon which options were
  56.            selected for installation...
  57.       ************************************************************************/
  58.  
  59.       return(sum(deinstl,ocifiles,ocisamples) + verify(w95rsf72));
  60.     }
  61.   else
  62.     {
  63.       refresh_map_file = FALSE;
  64.       return(0);
  65.     }
  66. }
  67.